package com.selftool.gui.devframe.action;

import com.selftool.base.NCButton;
import com.selftool.gui.devframe.DevFrom;
import com.selftool.gui.devframe.TableModel;
import com.selftool.log.Logger;

/**
 * @program: selftool
 * @description: 补丁安装按钮
 * @author: CYQ
 * @create: 2024-02-22 17:12
 **/
public class ImpButton extends NCButton {
    /**
     * @param obj
     * @throws Exception
     */
    @Override
    protected void execute(Object obj) throws Exception {
        Logger.write("ImpButton");
        DevFrom frame = (DevFrom) this.getFrame();
        TableModel model = frame.getModel();
        // 拼接sql语句
        String sql = "select * from bd_patch where nvl(dr,0)=0";
//        List<Map<String, Object>> data = JDBCUtil.queryListMap(sql); // 查詢
    }
}
